#pragma once
#include <afxdialogex.h>
#include "DlgTemplate.h"
 
class myDlg : public CDialog
{
public:
	myDlg();
	~myDlg();
public:
	BOOL CreateModeDlg(CString strCaption, CRect rect, BOOL bMode = TRUE, CWnd* pParent = NULL);
private:
	CDlgTemplate m_dlgTemp;
	CEdit m_ctrlEdit;
private:
	HICON  m_hIcon;
	enum { IDICON = 1 };
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void DoDataExchange(CDataExchange* pDX);
};